LIXO = *.hex *.obj *.o *~ \#*\#

all: clean

mega168:
	make clean
	make -f atm168.makefile 

mega8:
	make clean
	make -f atm8.makefile 

tiny:
	make clean
	make -f att2313.makefile 

clean:	clean_sub
	rm -f $(LIXO)

clean_sub:
	for dir in $$(ls -d */); do \
	cd $$dir && rm -f $(LIXO); \
	cd ../; \
	done

